package com.baomidou.springwind.test;

/**
 * Created by Administrator on 2016/12/19.
 */

abstract class Base{
    public Base(String dest) {
        System.out.println(dest);
    }

    public abstract void f();

}

public class Parcel9 {
    public Base getBase(String s) {
        return new Base(s) {
            @Override
            public void f() {
            }
        };
    }

    public static void main(String[] args) {
        Parcel9 parcel9 = new Parcel9();
        Base base = parcel9.getBase("sssssssssssss");
    }
}
